@foreach(['success','danger','info'] as $msg)
    @if(session()->has ($msg))
        <div class="container">
            <div class="alert alert-{{$msg}}" role="alert">
                <strong>{{session()->get($msg)}}</strong>
            </div>
        </div>
    @endif
@endforeach